package com.ztgf.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 商家维权表DTO
 *
 * @author YUE
 * @Date 2020-06-29 15:16:03
 */
@Data
@TableName("order_rights_protection")
@ApiModel(value="商家维权表对象", description="商家维权表对象")
public class OrderRightsProtectionDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    @ApiModelProperty(value = "发起人 0买家、1卖家")
    private Integer initiator;
    @ApiModelProperty(value = "0未审核、1买家赢、2卖家赢")
    private Integer result;
    @ApiModelProperty(value = "买家名称")
    private String buyerName;
    @ApiModelProperty(value = "卖家名称")
    private String sellerName;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "维权原因")
    private String reason;

}
